//This test is used with test_rm.cpp as inputs.
//rm 1 wp that the result wp is both front and back adjacent, with the same flag.(merge)
3
100
199
r
200
299
rw
300
399
r

200
299
w